/**
 * 
 */
package com.ailk.evaluation.manager;

import java.util.List;
import java.util.Map;
import com.ailk.evaluation.dao.JobDao;
import com.anhorn.webshare.base.biz.BaseManager;


public class JobManager extends BaseManager{
	private JobDao jobDao;
	public void setJobDao(JobDao jobDao) {
		this.jobDao = jobDao;
	}

	/**
	 * @return
	 */
	public List<Map> findMailJobData() {
		return jobDao.findMailJob();
	}
    /**
     * 
     * @return
     */
	public List<Map> findUnInitMailJob() {
		return this.jobDao.findUnInitMailJob();
	}
	
	public void saveInitMailJob(List<Map> evaluators) {
		this.jobDao.initMailJob(evaluators);
	}
	
	public void updateMailState(int send_tag,String email,String result_info,int evaluation_id){
		this.jobDao.updateMailState(send_tag,email,  result_info, evaluation_id);
	}
}
